package com.ww.springboot.boot.jvm2.enums;

import lombok.Getter;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2023-01-07 16:55
 */
@Getter
public enum 锁标志位 {
    轻量级锁("00","轻量级锁"),
    重量级锁("10","重量级锁"),
    GC标记("11","GC标记"),
    偏向锁("01","偏向锁"),
    ;

    private String code;

    private String name;

    锁标志位(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
